package com.hornsun.data.constant.types;

/**
 * <p>
 * 该文件的作用：//TODO
 * </p>
 *
 * @author xuxin
 * @date 2018/8/29
 */
public class ReturnErrorContext {
    private Integer code;
    private String message;
    private ReturnErrorContext(){}

    /**
     * 错误信息
     * @param code
     * @param message
     */
    public ReturnErrorContext(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
